
@import "./commonFun.scss";

$width: 100%;
$height: 100%;
html {
    -webkit-text-size-adjust: none !important;
}
html,
body,
div,
section,
img,
p,
span,
ul,
li,
input {
    font-family: Microsoft YaHei, \5b8b\4f53, sans-serif, \5fae\8f6f\96c5\9ed1, Arial, Verdana;
    outline: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    text-shadow: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none; /*禁用IOS的复制粘贴功能*/
    //   -webkit-user-select:none;
    -webkit-font-smoothing: antialiased;
}
a {
    background-color: transparent;
    text-decoration: none;
}
a:active,
a:hover {
    outline: 0;
}
em {
    font-style: normal;
}
html,
body {
    position: relative;
    width: $width;
    height: $height;
    min-width: 320px;
    min-height: 416px;
    margin: 0 auto;
}

.clear:after {
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}
.block {
    display: block !important;
}
.none {
    display: none !important;
}
.visible {
    visibility: visible !important;
}
.hidden {
    visibility: hidden !important;
}
.imgW {
    width: $width;
    vertical-align: top;
}
.imgH {
    height: $width;
    vertical-align: top;
}
.vertical {
    @include display-flex;
    //@include display-box;
    @include box-align("center");
}
.horizontal {
    @include display-flex;
    //@include display-box;
    @include box-pack("center");
}

:global(.rank-indicator) {
    vertical-align: middle;
    text-align: center;
    display: inline-block;
    height: pxToRem(48px);
    line-height: pxToRem(48px);
    width: pxToRem(48px);
    font-size: pxToRem(24px);
    background-size: contain;
    background-repeat: no-repeat;

    &:global(.r1) {
        color: transparent!important;
        background-image: url("common/sass/images/icn_hat1.png");
    }
    &:global(.r2) {
        color: transparent!important;
        background-image: url("common/sass/images/icn_hat2.png");
    }
    &:global(.r3) {
        color: transparent!important;
        background-image: url("common/sass/images/icn_hat3.png");
    }
}
